package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图片对象 b_e_picture
 * 
 * @author ruoyi
 * @date 2024-05-08
 */
public class BEPicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序列号 */
    private String id;

    /** 外键 */
    @Excel(name = "外键")
    private String efid;

    /** 图片名 */
    @Excel(name = "图片名")
    private String picName;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 文件目录 */
    @Excel(name = "文件目录")
    private String fileDirectory;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setEfid(String efid) 
    {
        this.efid = efid;
    }

    public String getEfid() 
    {
        return efid;
    }
    public void setPicName(String picName) 
    {
        this.picName = picName;
    }

    public String getPicName() 
    {
        return picName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setFileDirectory(String fileDirectory) 
    {
        this.fileDirectory = fileDirectory;
    }

    public String getFileDirectory() 
    {
        return fileDirectory;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("efid", getEfid())
            .append("picName", getPicName())
            .append("type", getType())
            .append("fileDirectory", getFileDirectory())
            .append("creationTime", getCreationTime())
            .toString();
    }
}
